package aloyii.demo2.after;

/**
 * @Author yajing zhu
 * @Date 2024/10/21 14:26
 * @Version 1.0
 * @注释： 正方形
 */
public class Square implements Quadrilateral{
    private double side;
    
    public double getSide() {
        return side;
    }
    
    public void setSide(double side) {
        this.side = side;
    }
    
    @Override
    public double getLength() {
        return side;
    }
    
    @Override
    public double getWidth() {
        return side;
    }
}
